Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce group reporters for API Particulier #1614

Merged
merged 7 commits into from
Jul 30, 2024

Conversation

skelz0r
Copy link
Member

@skelz0r skelz0r commented Jul 29, 2024

  • Mettre tout le monde en cci
  • Finaliser question metabase
  • Faire un minimum de design sur la vue

Backport of v1 functionnality from DataPass, won't be implemented in v2

Closes https://linear.app/pole-api/issue/DAT-499

@skelz0r skelz0r self-assigned this Jul 29, 2024
Copy link

linear bot commented Jul 29, 2024

@skelz0r skelz0r force-pushed the features/api-part-reporters branch from cffbf0d to cc98a38 Compare July 29, 2024 15:56
@skelz0r skelz0r requested review from Un3x and Samuelfaure July 29, 2024 16:36
@@ -0,0 +1,20 @@
class APIParticulier::ReportersController < APIParticulier::AuthenticatedUsersController
def show
if reporters_config.exclude?(reporter_group) || reporters_config[reporter_group].exclude?(current_user.email)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

je chipote mais j'aurais mis ça dans une méthode

@skelz0r skelz0r force-pushed the features/api-part-reporters branch from 7a244c7 to b9bc624 Compare July 30, 2024 07:56
@skelz0r skelz0r merged commit 1a0287f into develop Jul 30, 2024
6 checks passed
@skelz0r skelz0r deleted the features/api-part-reporters branch July 30, 2024 08:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants